<?php

namespace App\Http\Requests;

class ReplyRequest extends Request
{
    public function rules()
    {
        return [ 'content' => 'required|min:2'];
    }

    public function messages()
    {
        return [
          'content.required' =>'回复话题不能为空',
            'content.min' => '至少回复两个字',
        ];
    }
}
